home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / nfsmount / voiddef.h < prev   
Encoding:
C/C++ Source or Header  |  1989-09-14  |  834 b   |  32 lines

  1. /*
  2.  * voiddef.h --
  3.  *
  4.  *    Common include for all files to define void * in the face of
  5.  *    brain-damaged compilers.
  6.  *
  7.  * Copyright 1989 Regents of the University of California
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that the above copyright
  11.  * notice appear in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  * $Voiddef: /sprite/lib/forms/RCS/proto.h,v 1.2 89/01/07 04:12:44 rab Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #ifndef _VOIDDEF
  20. #define _VOIDDEF
  21.  
  22. #ifdef __STDC__
  23. typedef void *VoidPtr;
  24. #else /* __STDC__ */
  25. typedef int *VoidPtr;
  26. #endif /* __STDC__ */
  27.  
  28.  
  29.  
  30. #endif /* _VOIDDEF */
  31.  
  32.